Title: Replication Package for “Coercive Recruitment and Combatant Socialization: Reanalyzing the Role of Child Soldiering on Conflict-Related Sexual Violence”

Journal: Foreign Policy Analysis (FPA) | Dataverse: https://dataverse.harvard.edu/dataverse/FPA

Author: Changwook Ju (changwook.ju@yale.edu) | Institution: Yale University | Department: Political Science

Date: June 11, 2024

Computing Environment: x64-based processor (64-bit) under Windows 11 Home

License and Rights: Per journal or dataverse policy

Data Source: Faulkner, Christopher M, and Blair Welsh. 2022. “Rebel Child Soldiering and Conflict-Related Sexual Violence.” International Studies Quarterly 66 (4): 1–14.

Variable Labels for Replication Data: Request variable labels (if missing and non-conjecturable from the text) from the original authors.

Software: R (Version 4.3.3)

Software Packages and Libraries: Requisite R packages are specified in the programming files.

Replication: To replicate all analyses and figures, (1) download the replication data file to a folder entitled “~/data”, 
				     		    (2) create a second folder entitled "~/results" in the same directory,
				       		    (3) create a third folder entitled “~/figures” in the same directory,
				       		    (4) create two sub-folders under “~/figures” entitled, respectively, “~/figures/pirate plots” and
													     		 “~/figures/coefficient plots”, and
				       		    (5) run all code files in numerical order.

Note: R programming files contain organized sections. Use the following shortcuts to better navigate R(Studio).

      Alt + L: Collapse active section
      Alt + O: Collapse all sections
      Shift + Alt + L: Expand active sections
      Shift + Alt + O: Expand all sections

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%% Replication Data (relative path "~/data") %%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

[1] Faulkner_Welsh_2022.dta

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%% Code for Analysis %%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

[1] 1. analysis.Rmd
- Conducts (zero-inflated) ordered logit analysis
- Uses the Statamarkdown to execute both Stata and R commands in the RStudio interface

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%% Results (relative path "~/results") %%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

[1] cs_usdos_ol.dta
[2] cs_usdos_ziol.dta
[3] fcr_usdos_ol.dta
[4] fcr_usdos_ziol.dta
[5] cs_ai_ol.dta
[6] cs_ai_ziol.dta
[7] fcr_ai_ol.dta
[8] fcr_ai_ziol.dta
[9] cs_max_ol.dta
[10] cs_max_ziol.dta
[11] fcr_max_ol.dta
[12] fcr_max_ziol.dta

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%% Code for Figures %%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

[1] 2. pirate_plots.R
- Creates Figure 1

[2] 3. coefficient_plots.R 
- Creates Figures 2 and 3
